﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_ICM_BidReceive
    {
        private int ICM_BID_REC_SEQ;
        private Nullable<int> ICM_CON_SEQ;
        private Nullable<DateTime> ICM_BID_REC_DATE;
        private Nullable<int> ICM_BID_SEQ;
        private string RECEIPT_NO;

        private string ICM_CON_NAME_TH;

        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_ICM_BidReceive()
        {

        }

        public M_ICM_BidReceive(
            int ICM_BID_REC_SEQ
            , Nullable<int> ICM_CON_SEQ
            , Nullable<DateTime> ICM_BID_REC_DATE
            , Nullable<int> ICM_BID_SEQ
            , string RECEIPT_NO

            , string ICM_CON_NAME_TH

            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.ICM_BID_REC_SEQ = ICM_BID_REC_SEQ;
            this.ICM_CON_SEQ = ICM_CON_SEQ;
            this.ICM_BID_REC_DATE = ICM_BID_REC_DATE;
            this.ICM_BID_SEQ = ICM_BID_SEQ;
            this.RECEIPT_NO = RECEIPT_NO;

            this.ICM_CON_NAME_TH = ICM_CON_NAME_TH;

            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public int icm_bid_rec_seq
        {
            set { ICM_BID_REC_SEQ = value; }
            get { return ICM_BID_REC_SEQ; }
        }

        public Nullable<int> icm_con_seq
        {
            set { ICM_CON_SEQ = value; }
            get { return ICM_CON_SEQ; }
        }

        public Nullable<DateTime> icm_bid_rec_date
        {
            set { ICM_BID_REC_DATE = value; }
            get { return ICM_BID_REC_DATE; }
        }

        public Nullable<int> icm_bid_seq
        {
            set { ICM_BID_SEQ = value; }
            get { return ICM_BID_SEQ; }
        }

        public string receipt_no
        {
            set { RECEIPT_NO = value; }
            get { return RECEIPT_NO; }
        }

        public string icm_con_name_th
        {
            set { ICM_CON_NAME_TH = value; }
            get { return ICM_CON_NAME_TH; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
